package sk.tuke.constraintbuilder.builder.resourcemodel;


public class ParamElement extends ContainerElement{
   private String name;
    private String type;

    public ParamElement(String name, String type) {
        this.name = name;
        this.type = type;
    }

    @Override
    public String generateXML() {
        return
       "<parameter" + addXMLAttr("name", name) + addXMLAttr("type", type) + ">"
       + generateXMLSubElements() +
       "</parameter>";
    }
}
